<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
    <channel>
        <title>
            <![CDATA[ Magyarhangya | Hírek ]]>
        </title>

        <image>
        <url><?php echo base_url(); ?>frontend_style/img/logo.png</url>
        <title>Magyarhangya</title>
        <link><?php echo base_url(); ?></link>
        <width>130</width>
        <height>150</height>
        </image>

        <link><?php echo base_url(); ?></link>
        <description/>

        <language>hu-HU</language>
        <docs>http://backend.userland.com/rss</docs>
        <?php foreach ($hirek as $hir): ?>
            <item>
                <title>
                    <![CDATA[ <?php echo $hir->hir_cim ?> ]]>
                </title>
                <link>
                <?php echo base_url(); ?>
                </link>

                <category domain="main"/>
                <description>
                     <![CDATA[ <?php echo html_entity_decode( strip_tags($hir->hir_szoveg, '<a><p>'),ENT_QUOTES, 'UTF-8'); ?> ]]>
                </description>
                <content:encoded>
                    <![CDATA[ <?php echo html_entity_decode( strip_tags($hir->hir_szoveg, '<a><p>'),ENT_QUOTES, 'UTF-8'); ?> ]]>
                </content:encoded>
            </item>
        <?php endforeach; ?>
    </channel>
</rss>